package edu.zut.cs.software.propertymanagement.commodity.service.Impl;

import java.util.List;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.propertymanagement.commodity.dao.MaterialDao;
import edu.zut.cs.software.propertymanagement.commodity.domain.Material;
import edu.zut.cs.software.propertymanagement.commodity.service.MaterialManager;


@Component
@Transactional
public class MaterialManagerImpl extends GenericManagerImpl<Material, Long> implements MaterialManager {

	MaterialDao materialDao;

    @Autowired
    public void setShowingDao(MaterialDao materialDao) {
        this.materialDao = materialDao;
        this.dao = this.materialDao;
    }

	@Override
	public List<Material> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

}